package com.classroompie.classroompiepojo.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author jiahao
 * @since 2024/6/20 周四
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("student_homework")
public class StudentHomeworkModel extends BaseModel{
    @Column("s_id")
    private String sid;
    @Column("h_id")
    private String hid;
    @Column("is_submit")
    private Boolean isSubmit;
    @Column("is_correct")
    private Boolean isCorrect;
    @Column("score")
    private Double score;
    @Column("file")
    private String file;
    @Column("create_at")
    private LocalDateTime createAt;
}
